import * as apiService from '@/services/api'

/**
 * 新消息提示
 * @param params
 * @returns {Promise<*>}
 */
const getNewMsgNum = params => {
  return apiService.post(api.NEW_MSG_NUM, params)
};
/**
 * 后台管理用户在线心跳维持的接口
 * @param params
 * @returns {Promise<*>}
 */
const getNewHeartbeat = params => {
  return apiService.post(api.GLOBAL_HEARTBEAT, params)
};
/**
 * 黑名单监控消息提示
 * @param params
 * @returns {Promise<*>}
 */
const getMonitorNum = params => {
  return apiService.post(api.GLOBAL_MONITOR, params)
};

export {
  getNewMsgNum,
  getNewHeartbeat,
  getMonitorNum,
}
